package com.qingcloud.common.auth.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qingcloud.common.auth.model.Client;
import com.qingcloud.base.pojo.Result;
import com.qingcloud.common.auth.model.dto.ClientDTO;


public interface OauthClientDetailService extends IService<Client> {
    Result saveClient(Client Client) throws Exception;

    /**
     * 查询应用列表
     * @param dto
     * @param isPage 是否分页
     */
    Page<Client> listClient(ClientDTO dto, boolean isPage);

    void delClient(long id);

    Client loadClientByClientId(String clientId);
}
